namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 会员预付款信息表
    /// </summary>
    public partial class CapitalInfo:BaseModel
    {    
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 会员ID
        /// </summary>
        public long MemId { get; set; } = 0;
        /// <summary>
        /// 可用余额
        /// </summary>
        public Nullable<decimal> Balance { get; set; } = 0.00M;
        /// <summary>
        /// 冻结资金
        /// </summary>
        public Nullable<decimal> FreezeAmount { get; set; } = 0.00M;
        /// <summary>
        /// 累计充值总金额
        /// </summary>
        public Nullable<decimal> ChargeAmount { get; set; } = 0.00M;

        public virtual ICollection<CapitalDetailInfo> Himall_CapitalDetail { get; set; } = new HashSet<CapitalDetailInfo>();
    }
}
